<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="html"/>
    <xsl:param name="dvdTien"/>
    <xsl:template match="/">
        <select id="ddlLoaiTienTe" name="dvdgiatien" style="width:150px;">
            
            
            <xsl:for-each select="dsDonViTienTe/donvitiente">

                 <xsl:choose>
                    <xsl:when test=". = $dvdTien">
                        <option selected="true">
                            <xsl:value-of select="."/>
                        </option>
                    </xsl:when>
                    <xsl:otherwise>
                        <option>
                            <xsl:value-of select="."/>
                        </option>
                    </xsl:otherwise>

                </xsl:choose>
                
            </xsl:for-each>
        </select>
    </xsl:template>

</xsl:stylesheet>
